package cn.tedu.spring.auto;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestUserAuto {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext("cn.tedu.spring.auto");
        UserAuto bean = context.getBean(UserAuto.class);
        System.out.println("bean="+bean);
    }
}
